package com.loser.module.car;

import com.loser.module.car.entity.Car;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CarDao extends MongoRepository<Car, String> {

    List<Car> queryCarByAge(int age);

}
